OCTAHEDRON

Section: Games and Demos (6)
Updated: 8 January 1996
Index Return to Main Contents
 

NAME

xoct - Octahedron X widget  

SYNOPSIS

/usr/games/xoct [-display <display>] [-geometry <geometry>] [-{foreground | fg} <color>] [-{background | bg} <color>] [-{border | bd} <color>] [-mono] [-{size <int> | sticky}] [-{mode <int> | both}] [-[no]orient] [-[no]practice] [-face{0|1|2|3|4|5|6|7} <color>]  

DESCRIPTION

Use "mouse-left" to drag and drop on a face.

Use "mouse-center", "P", or "p" to toggle the practice mode (in practice mode the record should be "practice"). One must double click on "mouse-center" if the puzzle is being worked on.

"mouse-right", "R", or "r", to randomize (this must be done first to set a new record). One must double click on "mouse-right" if the puzzle is being worked on.

"I" or "i" keys "increase" or move "up" the number of octas.

"D" or "d" keys "decrease" or move "down" the number of octas.

"O" or "o" keys toggle the orient mode.

"3", "4", "B", or "b" keys change modes to Period 3, Period 4, or Both.

"Y" or "y" toggles sticky mode (increase/decrease is disabled here).

"S" or "s" keys reserved for the auto-solver (unimplemented).

"U" or "u" keys to undo move.

"G" or "g" keys to get a saved puzzle.

"W" or "w" keys to write or save a puzzle.

"Q", "q", or "CTRL-C" keys kill program.

Use the key pad or "R" keys for other ways to move other than CCW.

Use the control key and the left mouse button, keypad, or arrow keys to move the whole octahedron.  

OPTIONS

-display host:dpy
This option specifies the X server to contact.
-geometry {+|-}X{+|-}Y
This option sets the initial position of the octahedron window (resource name "geometry").
-{foreground | fg} color
This option specifies the foreground of the octahedron window (resource name "foreground").
-{background | bg} color
This option specifies the background of the octahedron window (resource name "background").
-{border | bd} color
This option specifies the border color of the octas in the octhahedoron window (resource name "borderColor").
-mono
This option allows you to access the mono mode on a color monitor (resource name "mono").
-size <int>
This option allows you to change the number of octas on a edge (resource name "size").
-sticky
This option allows you to set the sticky mode (resource name "sticky").
-mode <int>
This option allows you to set the turning mode (resource name "mode").
-both
This option allows you to set the turning mode to both period 3 and period 4 (resource name "mode" set at 5).
-[no]orient
This option allows you to access the orient mode (resource name "orient").
-[no]practice
This option allows you to access the practice mode (resource name "practice").
-face{0|1|2|3|4|5|6|7} <color>
This option allows you to change the color of a face (resource name "faceColorN"). In mono-mode, color is represented as the first letter of the color name. The faces are ordered top to bottom and left to right. If you has two colors that begin with the same letter you should have one in uppercase and one in lowercase to distinguish them in mono-mode. You can change the colors of the faces to make a stupid octahedron (i.e. all White or in mono-mode all "W"). Unfortunately, it will not normally say its solved when its randomized. This would be cheating.
 

SEE ALSO

X(1), xpyraminx(6), xrubik(6), xskewb(6), xdino(6), xmball(6), xmlink(6), xcubes(6), xtriangles(6), xhexagons(6), xabacus(1)  

COPYRIGHTS

® Copyright 1994-96, David Albert Bagley  

BUG REPORTS AND PROGRAM UPDATES

Send bugs (or their reports, or fixes) to the author

David Albert Bagley,   <bagleyd@hertz.njit.edu>

The most updated source could be found on ftp.x.org under /contrib/games/puzzles.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
COPYRIGHTS
BUG REPORTS AND PROGRAM UPDATES

This document was created by man2html, using the manual pages.
Time: 22:28:46 GMT, January 16, 2023